package com.example.demo.common;

/**
 * @ClassName ApiResult
 * @Description
 * @date 2023/3/23 17:09
 * @Author yanceysong
 * @Version 1.0
 */
public class ApiResult {
    public int state = 0;
    public Object data;
    public String error_message;

    public ApiResult(int state, Object data) {
        this.state = state;
        this.data = data;
    }

    public ApiResult() {
    }

    public String toString() {
        return "api_result{state=" + this.state + ", data=" + this.data + ", error_message='" + this.error_message + "'}";
    }
}
